home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #3 / amigamamagazinepolishissue1998.iso / maksiu / lists / amoslist-1197.lzh / AMOSLIST / 000122_amos-request@svcs1.digex.net_Mon Nov 10 19:47:03 1997.msg < prev    next >
Internet Message Format  |  1997-12-04  |  3KB

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
  2.     by mail4.access.digex.net (8.8.5/8.8.5) with ESMTP id TAA23686
  3.     for <mcox@access.digex.net>; Mon, 10 Nov 1997 19:46:29 -0500 (EST)
  4. Received: (from daemon@localhost)
  5.     by svcs1.digex.net (8.8.5/8.8.5) id RAA19307
  6.     for amos-out; Mon, 10 Nov 1997 17:31:45 -0500 (EST)
  7. Received: from mail2.access.digex.net (mail2.access.digex.net [205.197.247.3])
  8.     by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id RAA19304
  9.     for <amos-list@svcs1.digex.net>; Mon, 10 Nov 1997 17:31:44 -0500 (EST)
  10. Received: from mailhost.sosbbs.com (sosbbs.com [204.186.168.100])
  11.     by mail2.access.digex.net (8.8.5/8.8.5) with SMTP id RAA08551
  12.     for <amos-list@access.digex.net>; Mon, 10 Nov 1997 17:31:42 -0500 (EST)
  13. Received: from gbenjam (204.186.168.64) by mailhost.sosbbs.com
  14.  (EMWAC SMTPRS 0.81) with SMTP id <B0000136306@mailhost.sosbbs.com>;
  15.  Mon, 10 Nov 1997 17:31:03 -0500
  16. Message-ID: <B0000136306@mailhost.sosbbs.com>
  17. From: "Garfield Benjamin" <gbenjam@sosbbs.com>
  18. To: "AMOS MAILING LIST" <amos-list@access.digex.net>
  19. Subject: Re: Multitasking & mouse movement
  20. Date: Mon, 10 Nov 1997 17:36:50 -0500
  21. X-MSMail-Priority: Normal
  22. X-Priority: 3
  23. X-Mailer: Microsoft Internet Mail 4.70.1155
  24. MIME-Version: 1.0
  25. Content-Type: text/plain; charset=ISO-8859-1
  26. Content-Transfer-Encoding: 7bit
  27. Status: O
  28. X-Status: 
  29.  
  30. > I'm making a program in which I want to turn off multitasking. I've tried
  31. > the 'Multi No' command from the Turbo Plus Extension. I've also tried
  32. > using 'NUL=Execall(-132)' to turn it off.
  33. > Well, both of these commands works great, the only problem I'm
  34. > having is that the mouse moves really REALLY slow when I use em.
  35.  
  36.    Hmmm... it's amazing the mouse is moving at all...
  37.  
  38.  
  39. > I've tried to put the mouse in mouse port #2 and read the coords
  40. > using the AMCAF commands 'X=X Smouse' and 'Y=Y Smouse'
  41. > which works just fine when multitasking is off. But I'd really like to be
  42. > able to use mouse port #1 instead, so is there any way to do this?
  43. > I've also tried to read directly using 'X=Peek($DFF00A)' but then I would
  44. > need some sort of resident program which can check this 
  45. > continuously... Anyone now how to do this (Asm?).
  46. > Is there any other adresses for checking mouse movements except
  47. > the $DFF00A and $DFF00B?
  48.  
  49.    Don't know what you need this for, but any program that would be
  50.    killing the OS, would likely be running in a tight-loop (a game or 
  51.    demo), so you should be able to check the mouse deltas each
  52.    loop and presto, you have OSless-mouse control.
  53.  
  54.    I implemented this in my last SideShooter demo.  I could send
  55.    the OSlessMouse demo (which, of course, includes the
  56.    DirectMouseReading procedure), but I'm simply reading the
  57.    registers each frame and you already know how to do that...
  58.  
  59.    I haven't tried it, but perhaps you can install a VBL-interrupt in
  60.    AMOS even after the OS is kicked out, if so you could then use
  61.    an Every 1 Proc _DirectMouseRead or something similiar... 
  62.    Hardware-wise it should be no problem, the question is whether
  63.    AMOS supports it or not.
  64.  
  65.   
  66.       Take  care,   
  67.       GARFIELD
  68.       _________________________
  69.       Current projects...
  70.       Image-Remapping module(BLITZ): 100% Complete
  71.       SideShooter(AMOS): 75% Complete
  72.       Website(http://www.sosbbs.com/~gbenjam): 20% Complete